package com.hjd.shop.exception;

import com.hjd.shop.constant.ShopCode;

/**
 * Created with IntelliJ IDEA.
 *
 * @author 胡江迪
 * Date: 2020/10/13 0013
 * Time: 22:54
 * Description: 抛出异常
 */
public class CustomerException extends RuntimeException {
    private ShopCode shopCode;
    private Boolean state;
    private String msg;
    public CustomerException(ShopCode shopCode) {
        this.shopCode = shopCode;
    }
    public CustomerException(Boolean state,String msg){
        this.msg=msg;
        this.state=state;
    }
}
